package com.version1_3.dao;

import com.alibaba.fastjson.JSONArray;
import com.version1_3.model.MainPageModel;

import java.util.List;
import java.util.Map;

/**
 * Created by reeves on 2015/12/23.
 */
public interface PageDao1_3 {

    public MainPageModel getMainPage(int firstType, int userId, int pageNumber);

    public MainPageModel getMainPageNoLogin(JSONArray firstFocusJsonArray, int firstType, int pageNumber);

    public List getThirdPageList(int thirdTypeId, int pageNumber);

    public String getThridTypeDescription(int thirdTypeId);

    /**
     * @Description: 获取除正文之外其他信息
     */
    public Map<String, Object> getPageOtherInfo(int userId, int pageId);

    /**
     * 配合诸葛IO-获取文章相关信息
     * @param pageId
     * @return
     */
    public Map<String, Object> getArticleDetail(int pageId);

    /**
     * 获取推送信息
     * @param key
     * @return
     */
    public List<Map<String,Object>> getPushArticleInfo(String key);
}
